<%@ Control Language="VB" AutoEventWireup="false" CodeFile="PolicySearch.ascx.vb" Inherits="WebControls_POlicySearch" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
    
    <tr><td style="width: 800px">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 84px; height: 32px;" align="left">
                    &nbsp;Last Name:
                </td>
                <td align="left" style="width: 135px; height: 32px;">
                    &nbsp;<asp:TextBox ID="Lastname_txt" runat="server" Width="120px" Font-Names="Verdana"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 78px; height: 32px;" align="right">
                    First Name:
                </td>
                <td align="left" style="width: 150px; height: 32px;">
                    &nbsp;<asp:TextBox ID="Firstname_txt" runat="server" Width="136px"></asp:TextBox>
                </td>
                <td style="font-size: 10pt; font-family: Verdana; width: 90px; height: 32px;" align="right">
                    Middle Name:
                </td>
                <td align="left" style="width: 95px; height: 32px;">
                    &nbsp;<asp:TextBox ID="Middlename_txt" runat="server" Width="80px"></asp:TextBox>
                </td>
                <td style="font-size: 10pt; font-family: Verdana; width: 40px; height: 32px;" align="right">
                    Alias:
                </td>
                <td align="left" style="width: 93px; height: 32px;">
                    &nbsp;<asp:TextBox ID="Alias_txt" runat="server" Width="80px"></asp:TextBox>
                </td>
            </tr>
        </table>
            
    </td></tr>
    
    <tr><td style="width: 800px">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 105px;" align="left">
                    &nbsp;Policy Number:
                </td>
                <td style="width: 125px" align="left">
                    &nbsp;<asp:TextBox ID="Policynumber_txt" runat="server" Width="104px"></asp:TextBox>
                </td>
                <td style="font-size: 10pt; font-family: Verdana; width: 58px;" align="right">
                    Provider:
                </td>
                <td align="left">
                    &nbsp;<asp:TextBox ID="Provider_txt" runat="server" Width="208px"></asp:TextBox>
                </td>
                <td style="font-size: 10pt; font-family: Verdana" align="right">
                    Product:
                </td>
                <td align="left">
                    &nbsp;<asp:TextBox ID="Product_txt" runat="server" Width="208px"></asp:TextBox>
                </td>
            </tr>
        </table>
            
    </td></tr>

    <tr><td style="width: 800px">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="width: 400px; height: 24px;"></td>
                <td style="height: 24px">
                    &nbsp;</td>
                <td style="width: 59px; height: 24px;"></td>
                <td style="height: 24px">
                    &nbsp;</td>
                <td style="height: 24px; text-align: right;">
                    <asp:Button ID="Search_btn" runat="server" Text="Search" BackColor="Gainsboro" Font-Names="Verdana" Width="120px" CausesValidation="False" /></td>
            </tr>
        </table>
            
    </td></tr>

    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #c0c0c0; height: 3px;"></td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; height: 20px;"></td></tr>
    </table>

    <table cellpadding="0" cellspacing="0" width="800px" style="font-family:Verdana; font-size:10pt">
        <tr>
        <td align="left" style="height: 16px"> Search Results: <asp:Label ID="results_label" runat="server" Text="0"></asp:Label></td>
        <td align="right" style="height: 16px;"></td>
        </tr>
    </table>
    
    <table cellpadding="0" cellspacing="0" width="800px" style="font-family:Verdana; font-size:3pt; height:3px">
        <tr><td>&nbsp;</td></tr>
    </table>        
    
    <table cellpadding="0" cellspacing="0">
        <tr><td style="width: 800px;">
            <asp:DataGrid ID="DataGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
                BorderColor="White" BorderStyle="Solid" BorderWidth="1px" CellPadding="1" Font-Names="Verdana" Width="800px" Font-Size="10pt" TabIndex="12" AllowSorting="True" AllowPaging="True">
                <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                <SelectedItemStyle Font-Bold="True" ForeColor="#105BA4" Font-Italic="True" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Font-Names="Arial" Font-Size="10pt" />
                <PagerStyle BackColor="White" ForeColor="#330099" HorizontalAlign="Left" Mode="NumericPages" PageButtonCount="9" Position="Top" />
                <AlternatingItemStyle BackColor="#D7DADF" />
                <ItemStyle BackColor="#F2F3F5" ForeColor="Black" />
                <HeaderStyle BackColor="#105BA4" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:ButtonColumn CommandName="Select" Text="Select Policy">
                        <HeaderStyle Width="15px" />
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                    </asp:ButtonColumn>
                    <asp:BoundColumn DataField="policy_seq_cd" Visible="False"></asp:BoundColumn>
                    <asp:BoundColumn HeaderText="Name" DataField="broker_desc">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                    <asp:BoundColumn HeaderText="Policy #" DataField="policy_no">
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                    </asp:BoundColumn>
                    <asp:BoundColumn HeaderText="Provider" DataField="provider_desc">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="prdt_desc" HeaderText="Product">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="contribution_amt" Visible="False"></asp:BoundColumn>
                    <asp:BoundColumn DataField="currency_cd" Visible="False"></asp:BoundColumn>
                </Columns>
            </asp:DataGrid></td></tr>
    </table>
